package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到活动管理对象 ccs_active
 * 
 * @author ruoyi
 * @date 2024-04-26
 */
public class CcsActive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 活动号 */
    @Excel(name = "活动号")
    private String activeNum;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activeName;

    /** 教室号 */
    @Excel(name = "教室号")
    private String classRoomNum;

    /** 教学班号 */
    @Excel(name = "教学班号")
    private String teachingClassNum;

    /** 工号 */
    @Excel(name = "工号")
    private String teacherNum;

    /** 发起活动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发起活动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date datetime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setActiveNum(String activeNum) 
    {
        this.activeNum = activeNum;
    }

    public String getActiveNum() 
    {
        return activeNum;
    }
    public void setActiveName(String activeName) 
    {
        this.activeName = activeName;
    }

    public String getActiveName() 
    {
        return activeName;
    }
    public void setClassRoomNum(String classRoomNum) 
    {
        this.classRoomNum = classRoomNum;
    }

    public String getClassRoomNum() 
    {
        return classRoomNum;
    }
    public void setTeachingClassNum(String teachingClassNum) 
    {
        this.teachingClassNum = teachingClassNum;
    }

    public String getTeachingClassNum() 
    {
        return teachingClassNum;
    }
    public void setTeacherNum(String teacherNum) 
    {
        this.teacherNum = teacherNum;
    }

    public String getTeacherNum() 
    {
        return teacherNum;
    }
    public void setDatetime(Date datetime) 
    {
        this.datetime = datetime;
    }

    public Date getDatetime() 
    {
        return datetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activeNum", getActiveNum())
            .append("activeName", getActiveName())
            .append("classRoomNum", getClassRoomNum())
            .append("teachingClassNum", getTeachingClassNum())
            .append("teacherNum", getTeacherNum())
            .append("datetime", getDatetime())
            .toString();
    }
}
